//using SubhadraSolutions.Sharp.Utils.Validation;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;

//namespace SubhadraSolutions.Sharp.Utils.Validation.Validators
//{
//    public class NotNullValidator : IValidator
//    {
//        public ValidationResult Validate(object obj, string objectName)
//        {
//            if (obj == null)
//            {
//                return new ValidationResult
//                {
//                    Status = ValidationStatus.Failure,
//                    ErrorMessage = string.Format("{0} should not be null", objectName),
//                    PropertyName = objectName
//                };
//            }
//            return new ValidationResult
//            {
//                Status = ValidationStatus.Success
//            };
//        }
//    }
//}